<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:59:"E:\www\sunwm\web/../application/admin\view\index\index.html";i:1511404992;s:61:"E:\www\sunwm\web/../application/admin\view\public\lefter.html";i:1502267898;s:64:"E:\www\sunwm\web/../application/admin\view\public\admin-nav.html";i:1508751638;s:61:"E:\www\sunwm\web/../application/admin\view\public\header.html";i:1503189484;}*/ ?>
﻿<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title><?php echo config('sitename'); ?>-<?php echo lang('label')['Login_title']; ?></title>
		<link rel="stylesheet" type="text/css" href="__ROOT__/static/public/css/pintuer.css" />
		<link rel="stylesheet" type="text/css" href="__ROOT__/static/admin/css/admin.css" />
		<script type="text/javascript" src="__ROOT__/static/public/js/jquery.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/js/pintuer.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/laydate/laydate.js"></script>
	</head>

	<body>
<div class="lefter">
	<div class="logo" style="margin-top: -7px">
		<img height="50px" src="/logo.png"/>
	</div>
</div>
<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title><?php echo config('sitename'); ?>-<?php echo lang('label')['Login_title']; ?></title>
		<link rel="stylesheet" type="text/css" href="__ROOT__/static/public/css/pintuer.css" />
		<link rel="stylesheet" type="text/css" href="__ROOT__/static/admin/css/admin.css" />
		<script type="text/javascript" src="__ROOT__/static/public/js/jquery.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/js/pintuer.js"></script>
		<script type="text/javascript" src="__ROOT__/static/admin/js/admin.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/layer/layer.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/laydate/laydate.js"></script>
		<script type="text/javascript" src="__ROOT__/static/public/laytpl/laytpl.js"></script>
	</head>

	<body>
	<style>
		html { overflow-x:hidden; }
	</style>
<div class="righter nav-navicon" id="admin-nav">
			<div class="mainer">
				<div class="admin-navbar">
					<span class="float-right">
                    <a href="login.html">注销登录</a>
                </span>
					<ul id="nav" class="nav nav-inline admin-nav">
					<?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($i % 2 );++$i;?>
						<li <?php if($i==1): ?>class="active"<?php endif; ?>>
							<a <?php if($i==1): ?>href="index.html"<?php else: ?>data-href="menu"<?php endif; ?> class="<?php echo $volist['icon']; ?>"> <?php echo $volist['name']; ?></a>
							<ul>
							<?php if(is_array($volist['sub']) || $volist['sub'] instanceof \think\Collection || $volist['sub'] instanceof \think\Paginator): $j = 0; $__LIST__ = $volist['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sublist): $mod = ($j % 2 );++$j;?>
							<li <?php if($j==1): ?>class="active"<?php endif; ?>><a <?php if($sublist['url']=='index'): ?>href="index.html"<?php else: ?>data-href="<?php echo $sublist['url']; ?>.html<?php endif; ?>"><?php echo $sublist['name']; ?></a></li>	
							<?php endforeach; endif; else: echo "" ;endif; ?>
							</ul>
						</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
						<!-- <li class="active">
							<a href="index.html" class="icon-home"> 开始</a>
							<ul>
								<li class="active"><a href="index.html">系统首页</a></li>
								<li><a data-href="auth.html">权限管理</a></li>
								<li><a data-href="feedback.html">工单反馈</a></li>
							</ul>
						</li>
						<li>
							<a data-href="index/setting.html" class="icon-cog"> 系统</a>
							<ul>
								<li class="active"><a data-href="index/setting.html">系统设置</a></li>
								<li><a data-href="city.html">城市管理</a></li>
								<li><a data-href="carousel.html">轮播管理</a></li>
								<li><a data-href="notice.html">公告管理</a></li>
								<li><a data-href="article.html">文章管理</a></li>
							</ul>
						</li>
						<li>
							<a data-href="seller.html" class="icon-file-text"> 商户</a>
							<ul>
								<li class="active"><a data-href="seller.html">商户列表</a></li>
								<li><a data-href="seller/examine.html">商户审核</a></li>
								<li><a data-href="cash.html">提现管理</a></li>
								<li><a data-href="seller/setting.html">商户设置</a></li>
							</ul>
						</li>
						<li>
							<a data-href="service.html" class="icon-coffee"> 服务</a>
							<ul>
								<li class="active"><a data-href="service.html">服务列表</a></li>
								<li><a data-href="service/category.html">服务分类</a></li>
								<li><a data-href="service/examine.html">服务审核</a></li>
							</ul>
						</li>
						<li><a data-href="order.html" class="icon-shopping-cart"> 订单</a>
							<ul>
								<li class="active"><a data-href="order.html">订单列表</a></li>
								<li><a href="#">预留位置</a></li>
							</ul>
						</li>
						<li><a data-href="user.html" class="icon-user"> 用户</a>
							<ul>
								<li class="active"><a data-href="user.html">用户列表</a></li>
								<li><a href="#">预留位置</a></li>
							</ul>
						</li>
						<li><a data-href="sms.html" class="icon-mail-forward (alias)"> 消息</a>
							<ul>
								<li class="active"><a data-href="sms.html">短信记录</a></li>
								<li><a data-href="sms/setting.html">短信设置</a></li>
								<li><a data-href="push.html">推送管理</a></li>
								<li><a data-href="push/setting.html">推送设置</a></li>
							</ul>
						</li>
						<li><a data-href="file.html?type=image" class="icon-file"> 文件</a>
							<ul>
								<li class="active"><a data-href="file.html?type=image">文件列表</a></li>
								<li><a data-href="file/setting.html">上传设置</a></li>
							</ul>
						</li> -->
					</ul>
				</div>
				<div class="admin-bread">
					<span>您好，<?php echo session("username"); ?>，欢迎您的光临。</span>
					<ul class="bread">
						<li><a href="index.html" class="icon-home"> 开始</a></li>
						<li id='nav_two'>系统首页</li>
						<li id='nav_three'></li>
					</ul>
				</div>
			</div>
		</div>
	<div class="admin">
		<iframe style="width:100%;height:100%;" src="index/home.html"></iframe>
	</div>
<script>
var src;
$("ul.nav li").click(function(){
	$(this).parent().children('li').removeClass('active');
	$(this).addClass('active');
	if($(this).find('a').attr('href') != '' && typeof($(this).find('a').attr('href')) != 'undefined'){
		location.href = $(this).find('a').attr('href');
		return false;
	}
	//if(src != $(this).find('a').attr('data-href')){
		src = $(this).find('a').attr('data-href');
		if(src){
			if($(this).find('ul').length > 0){
				$(this).find('ul').children('li').removeClass('active');
				$(this).find('ul').find('li:first').click();
				$('#nav_two').html($(this).find('a').html());
				$('#nav_three').html('');
			}else{
				$(this).find('ul').find('li:first').click();
				$('#nav_three').html($(this).find('a').html());
			}
			if(src != 'menu'){
				$('.admin iframe').attr('src',src);
			}
			return false;
		}
	//}
	return false;
});
</script>
</body>
</html>